package dancetiktokmodelmysql

import (
	"gorm.io/gorm"
	"time"
)

// DancePetActivitiesHotCondition 宠物活动热度收益配置表
type DancePetActivitiesHotCondition struct {
	Id          int64          `gorm:"primaryKey;autoIncrement;comment:id" json:"id"`
	ActivityId  int64          `json:"activityId" gorm:"column:activity_id;type:bigint;default:0;not null;comment:活动id"`
	MinHotValue int64          `json:"minHotValue" gorm:"column:min_hot_value;type:bigint;default:0;not null;comment:最小热度值"`
	MaxHotValue int64          `json:"maxHotValue" gorm:"column:max_hot_value;type:bigint;default:0;not null;comment:最大热度值"`
	RateValue   int64          `json:"rateValue" gorm:"column:rate_value;type:bigint;default:0;not null;comment:收益比例值,没有百分比"`
	CreatedId   int64          `json:"created_id" gorm:"column:created_id;type:bigint;default:0;not null;comment:创建人id"` // 创建人id
	UpdateId    int64          `json:"update_id" gorm:"column:update_id;type:bigint;default:0;not null;comment:更新人id"`   // 更新人id
	CreatedAt   time.Time      `json:"created_at" gorm:"column:created_at;type:datetime"`
	UpdatedAt   time.Time      `json:"updated_at" gorm:"column:updated_at;type:datetime"`
	DeletedAt   gorm.DeletedAt `gorm:"index;type:datetime" json:"-"`
}
